package top.frsf.autocodegen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 代码生成表(AutoTable)实体类
 *
 * @author FRSF
 * @since 2024-07-29 15:32:46
 */
@Data
@Builder
@TableName("auto_table")
@EqualsAndHashCode(callSuper = true)
public class AutoTable extends BaseEntity {
    /**
     * ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 数据源ID
     */
    private Integer datasourceId;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 类名
     */
    private String className;

    /**
     * 表注释
     */
    private String tableComment;

    /**
     * 作者
     */
    private String author;

    /**
     * 邮箱
     */
    private String email;
}

